package com.tect918.pojo;

import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author: 若若叶
 * @date: 2021/9/18 14:38 FileName: Student Description:
 */
@Component
public class Student {
  private Integer sid;
  private String sname;
  private Integer sage;
  private String stel;

  public Student() {}

  public Student(Integer sid, String sname, Integer sage, String stel) {
    this.sid = sid;
    this.sname = sname;
    this.sage = sage;
    this.stel = stel;
  }

  public Integer getSid() {
    return sid;
  }

  public void setSid(Integer sid) {
    this.sid = sid;
  }

  public String getSname() {
    return sname;
  }

  public void setSname(String sname) {
    this.sname = sname;
  }

  public Integer getSage() {
    return sage;
  }

  public void setSage(Integer sage) {
    this.sage = sage;
  }

  public String getStel() {
    return stel;
  }

  public void setStel(String stel) {
    this.stel = stel;
  }

  @Override
  public String toString() {
    return "Student{"
        + "sid="
        + sid
        + ", sname='"
        + sname
        + '\''
        + ", sage="
        + sage
        + ", stel='"
        + stel
        + '\''
        + '}';
  }
}
